package com.boilermaker.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class PrizeParam implements Serializable {

    @NotBlank(message = "奖品名不可为空")
    private String prizeName;

    private String description;

    @NotNull(message = "奖品价值不能为空")
    private BigDecimal price;
}
